#include "RBTreeIterator.h"
int main()
{
	
	int a[] = { 3,6,8,13,4,5,7, };
	RBTree<int,int, KeyOfT<int>> RB;
	for (int i = 0; i < 7; i++)
	{
		RB.Insert(a[i]);
	}
	RBTree<int, int, KeyOfT<int>>::Iterator it = RB.Begin();
	while (it != RB.End())
	{
		cout << *it << " ";
		++it;
	}
	return 0;
}